//
//  AddYunDanThreeCell.h
//  ReceiptDelivery
//
//  Created by 吕晶 on 2020/9/17.
//  Copyright © 2020 吕晶. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AddYunDanMainModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef void(^AddYunDanThreeCellServiceBlock)(int serviceId);
typedef void(^AddYunDanThreeCellTranTimeBlock)(int timeId);
typedef void(^AddYunDanThreeCellLinkOrderBlock)(NSString *linkOrder);
typedef void(^AddYunDanThreeCellPayWeightBlock)(NSString *weight);
typedef void(^AddYunDanThreeCellPayVolumeBlock)(NSString *volume);
typedef void(^AddYunDanThreeCellInsuranceBlock)(NSString *insurance);
typedef void(^AddYunDanThreeCellFileBlock)(NSString *file);
typedef void(^AddYunDanThreeCellRemarkBlock)(NSString *remark);
typedef void(^AddYunDanThreeCellRemarkChooseBlock)(NSString *remark);

@interface AddYunDanThreeCell : UITableViewCell

+ (instancetype)AddYunDanThreeCellWithTableView:(UITableView *)tableView;

@property (nonatomic, strong) AddYunDanCangKuModel *model;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, copy) dispatch_block_t shippingBlock;//运输方式
@property (nonatomic, copy) dispatch_block_t requireBlock;//车辆要求
@property (nonatomic, copy) dispatch_block_t jieSuanBlock;//结算方式
@property (nonatomic, copy) dispatch_block_t shouAddressBlock;//修改收货地址
@property (nonatomic, copy) AddYunDanThreeCellLinkOrderBlock linkOrderBlock;//关联订单
@property (nonatomic, copy) dispatch_block_t requireTimeBlock;//要求到达时间
@property (nonatomic, copy) AddYunDanThreeCellServiceBlock serviceBlock;//服务方式
@property (nonatomic, copy) AddYunDanThreeCellTranTimeBlock tranTimeBlock;//运输时效
@property (nonatomic, copy) AddYunDanThreeCellPayWeightBlock payWeightBlock;//计费重量
@property (nonatomic, copy) AddYunDanThreeCellPayVolumeBlock payVolumeBlock;//计费体积
@property (nonatomic, copy) AddYunDanThreeCellInsuranceBlock insuranceBlock;//保险声明价值
@property (nonatomic, copy) dispatch_block_t huiDanBlock;//回单上缴
@property (nonatomic, copy) AddYunDanThreeCellFileBlock fileBlock;//随附文件
@property (nonatomic, copy) AddYunDanThreeCellRemarkBlock remarkBlock;//备注
@property (nonatomic, copy) AddYunDanThreeCellRemarkChooseBlock remarkChooseBlock;

@end

NS_ASSUME_NONNULL_END
